<!-- inc:header -->
<div class="notice"><div class="p">
	<table width="100%" cellpadding="0" cellspacing="0">
	<tr>
		<td width="130px"><span class="lead">&nbsp;&raquo; {:$m_rs[title]}</span></td>
		<form method="post" action="{:site_url('list')}module_id={:$module_id}">
		<td align="left">
			搜索：<!-- if($ifcate) -->{:$cate_html}<!-- end -->
			<input type="text" name="keywords" id="keywords" value="{:$keywords}">
			<input type="submit" class="button" value="查询">
		</td>
		</form>
		<td align="right"><a href="{:site_url('list,set')}module_id={:$m_rs[id]}&" class="button">添加内容</a></td>
	</tr>
	</table>
</div></div>

<div class="main">
<table width="100%" style="layout:fixed;" cellpadding="0" cellspacing="0">
<tr>
	<td class="t_sub" width="33px">&nbsp;</td>
	<td class="t_sub" width="50px">ID</td>
	<td class="t_sub" width="35px">状态</td>
	<!-- if($m_rs[if_thumb] && $m_rs[if_thumb_m]) -->
	<td class="t_sub" width="84px">缩略图</td>
	<!-- end -->
	<!-- if($ifcate) -->
	<td class="t_sub" width="130px">分类</td>
	<!-- end -->
	<td class="t_sub">名称</td>
	<!-- if($m_rs[if_biz]) -->
	<td class="t_sub" width="100px">售价（RMB）</td>
	<!-- end -->
	<td class="t_sub" width="110px">发布时间</td>
	<td class="t_sub" width="80px">操作</td>
</tr>
<!-- $rslist AS $key=>$value -->
<tr class="tr_out" onMouseOver="over_tr(this)" onMouseOut="out_tr(this)">
	<td align='center' class="tc_left"><input type="checkbox" value="{:$value[id]}" /></td>
	<td align='center' class="tc_right">{:$value[id]}</td>
	<td align="center" class="tc_right" id="status_{:$value['id']}"><img src="images/status{:intval($value['status'])}.gif" onclick="status('{:$value['id']}','{:intval($value['status'])}')" class="hander"></td>
	<!-- if($m_rs[if_thumb] && $m_rs[if_thumb_m]) -->
	<td align='center' class="tc_right"><img src="{:$value[thumb] ? $value[thumb] : 'images/nopic.gif'}" border="0" width="80px" style="padding:1px;" height="80px" /></td>
	<!-- end -->
	<!-- if($ifcate) -->
	<td class="tc_right" align='center'>{:$value[cate_name] ? $value[cate_name] : '-'}</td>
	<!-- end -->
	<td align='left' class="tc_right" style="{:$value[style]};padding:2px 0;">&nbsp;{:$value[title]}<!-- if($value[virtual]) --> <span class="red">虚拟产品</span><!-- end --></td>
	<!-- if($m_rs[if_biz]) -->
	<td align='center' class="tc_right">{:$value[free] ? '免费' : $value[price]} <!-- if($value[ifspecial] && !$value[free]) --><span style="color:red;">特价</span><!-- end --></td>
	<!-- end -->
	<td  align='center' class="tc_right">{:date('Y-m-d H:i',$value[post_date])}</td>
	<td align="center" class="tc_right">
		<a href="{:site_url('list,set')}id={:$value[id]}"><img src="images/page_edit.gif" alt="编辑"></a>
		<a href="javascript:del({:$value['id']});void(0);"><img src="images/page_delete.gif" alt="删除"></a>
	</td>
</tr>
<!-- end -->
</table>
</div>
<div class="table">
	<table width="100%">
	<tr>
		<td>
			<input type="button" value="全选" onclick="select_all()">
			<input type="button" value="全不选" onclick="select_none()">
			<input type="button" value="反选" onclick="select_anti()">
			&nbsp;
			<input type="button" value="批量审核" onclick="update_pl('1')">
			<input type="button" value="批量未审核" onclick="update_pl('0')">
			&nbsp;
			<input type="button" value="批量删除" onclick="del_pl()">
		</td>
		<td align="right">{:$pagelist}</td>
	</tr>
	</table>
</div>
<!-- inc:footer -->